home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / m68k / lynx.h < prev    next >
C/C++ Source or Header  |  1994-08-25  |  2KB  |  55 lines

  1. /* Definitions for Motorola 680x0 running LynxOS.
  2.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "m68k/m68k.h"
  21. #include "m68k/m68k-coff.h"
  22.  
  23. #undef CTORS_SECTION_ASM_OP
  24. #undef DTORS_SECTION_ASM_OP
  25. #undef ASM_OUTPUT_DESTRUCTOR
  26. #undef SELECT_RTX_SECTION
  27.  
  28. #define BSS_SECTION_ASM_OP ".bss"
  29.  
  30. #define ASM_LONG ".long"
  31.  
  32. #include "lynx.h"
  33.  
  34. /* See m68k.h.  7 means 68020 with 68881.  */
  35.  
  36. #ifndef TARGET_DEFAULT
  37. #define TARGET_DEFAULT 7
  38. #endif
  39.  
  40. /* Names to predefine in the preprocessor for this target machine.  */
  41.  
  42. #undef CPP_PREDEFINES
  43. #define CPP_PREDEFINES "-Dunix -Dmc68000 -DM68K -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(m68k) -Amachine(m68k)"
  44.  
  45. /* Every structure or union's size must be a multiple of 2 bytes.  */
  46.  
  47. #define STRUCTURE_SIZE_BOUNDARY 16
  48.  
  49. /* Lynx uses d2 and d3 as scratch registers. */
  50. #undef CALL_USED_REGISTERS
  51. #define CALL_USED_REGISTERS \
  52.  {1, 1, 1, 1, 0, 0, 0, 0,   \
  53.   1, 1, 0, 0, 0, 0, 0, 1,   \
  54.   1, 1, 0, 0, 0, 0, 0, 0 }
  55.